package com.sctvcloud.demo1.ui.dialog;

import android.app.Dialog;
import android.os.Bundle;
import android.os.Message;
import android.text.Html;
import android.text.TextUtils;
import android.util.Log;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.ruihang.generalibrary.ui.dialog.BaseDialogFragment;
import com.ruihang.generalibrary.ui.widget.CustomFontTextView;
import com.sctvcloud.demo1.R;

import butterknife.BindView;

public class ProtocolFragment extends BaseDialogFragment  implements View.OnClickListener{

    TextView tv_sure;

    public ProtocolFragment() {

    }

    @Override
    protected int getContentRes() {
        return R.layout.dia_protocol_fragment;
    }

    @Override
    protected void initViews(Dialog dialog, Bundle savedInstanceState) {
        tv_sure = (TextView) dialog.findViewById(R.id.tv_sure);
        tv_sure.setOnClickListener(this);

    }

    @Override
    public void onClick(View v) {
        if (v == tv_sure) {
            dismissAllowingStateLoss();
        }
    }
}
